package cn.jolyoulu.common.core.constant;


/**
 * @Author: JolyouLu
 * @Date: 2023/1/20 21:34
 * @Description 全局公共常量
 */
public class GlobalConstant {

    private GlobalConstant() {
        throw new IllegalStateException("Utility class");
    }

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * token 加密密钥
     */
    public static final String TOKEN_SING_KEY = "jolyoulu";

    /**
     * http请求成功的状态码
     */
    public static final Integer HTTP_SUCCESS_CODE = 200;
    /**
     * http请求失败的状态码
     */
    public static final Integer HTTP_ERROR_CODE = 500;
    /**
     * http未知连接状态码
     */
    public static final Integer HTTP_NOT_FOUND = 404;

    /**
     * 调用链ID
     */
    public static final String TRACE_ID = "TRACE_ID";
}
